.overview-info {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  .#{$teamix-prefix}badge {
    margin-right: 8px;
  }
  .arrows-cycle-icon {
    margin-right: 4px;
    font-size: 16px;
  }
  &.empty {
    height: auto;
    align-items: flex-start;
  }
  &-title {
    display: inline-block;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    color: $gray-08;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 520px;
  }
  &-infobar {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
  }
  &-toolbar {
    flex: none;
    margin: 6px 0;
  }
  &-icon {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 352px;
    padding: 8px 16px;
  }
  &-mirror-sync {
    max-width: 400px;
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: #292929;
    font-size: 14px;
    line-height: 22px;
    .#{$teamix-prefix}balloon-arrow-content {
      background-color: #fff !important;
    }
    .next-balloon-tooltip-content {
      width: 100%;
    }
    &-tooltip {
      width: 100%;
      &-time {
        height: 46px;
        line-height: 46px;
        border-bottom: 1px solid #e8e8e8;
      }
      &-desc {
        height: 46px;
        line-height: 46px;
        display: flex;
        align-items: center;
        & > span {
          flex: 1;
        }
        .btn {
          flex: none;
        }
      }
    }
  }
  &-mirror-sync-pointer {
    cursor: pointer;
    &-disabled {
      cursor: not-allowed;
    }
  }

  &-mirror-sync-disabled {
    cursor: not-allowed;
    .next-icon-arrows-cycle {
      animation: mycircle 1.5s linear infinite;
    }
  }
}
@keyframes mycircle {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
.desc-popup {
  background: #fff;
  border-radius: 4px;
  width: 320px;
  font-size: 12px;
  color: $gray-08;
  padding: 16px;
  word-break: break-word;
  &-item-label {
    color: $snow;
    margin-bottom: 4px;
  }
}
.clone-popup {
  width: 320px;
  .#{$teamix-prefix}tabs-bar {
    border-bottom: 1px solid $gray-02;
    padding-left: 16px;
  }
  &-content {
    padding: 16px;
    border-bottom: 1px solid $gray-02;
  }
  .gitClone-address-input {
    display: inline-block;
    line-height: 32px;
    border-right: 0;
    width: 252px;
    height: 34px !important;
    border-radius: 4px 0 0 4px !important;
    background: $gray-01;
    border-color: $gray-03;
  }
  .gitClone-copy-btn {
    border-radius: 0 4px 4px 0px !important;
    height: 34px !important;
    min-width: 34px;
    padding: 0;
    border-color: $gray-03;
    i {
      color: $gray-06;
    }
    &:hover {
      border-color: $gray-03;
      background: $gray-01;
      i {
        color: $gray-08;
      }
    }
  }
  .gitClone-download-btn {
    display: inline-block;
    height: 39px;
    & > span {
      vertical-align: middle;
    }
  }
  .download-zip {
    width: 158px;
    border-radius: 0 0 0 4px !important;
  }
  .download-tar {
    width: 159px;
    border-radius: 0 0 4px 0px !important;
  }
  .gitClone-download-btn-line {
    display: inline-block;
    background: $gray-02;
    width: 1px;
    height: 24px;
    vertical-align: middle;
  }
  .gitClone-menu-icon {
    color: $gray-06;
    margin-right: 8px;
  }
  .ssh-notset-message,
  .https-clone-message {
    margin: 16px 16px 0;
    &-link {
      color: $primary-brand;
      &:hover {
        color: $hover-brand;
      }
    }
    // 如果是20 * 20 的话，就不对齐了
    .yx-message-close .yx-icon-close {
      width: 16px;
      height: 16px;
    }
  }
}
